﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.Manage.ProjectSecurityDeposit
{
    public class ProjectSecurityDepositEditForm
    {
        /// <summary>
        ///  
        ///</summary>
        public int? Id { get; set; }
        /// <summary>
        /// 项目id 
        ///</summary>
        [Display(Name = "项目id")]
        public int? ProjectId { get; set; }
        /// <summary>
        /// 流水号 
        ///</summary>
        [Display(Name = "流水号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string SerialNumber { get; set; }
        /// <summary>
        /// 缴纳主体名称 
        ///</summary>
        [Display(Name = "缴纳主体名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Name { get; set; }
        /// <summary>
        /// 缴纳主体统一社会信用代码 
        ///</summary>
        [Display(Name = "缴纳主体统一社会信用代码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Code { get; set; }
        /// <summary>
        /// 银行是否对账户设置特殊标识 
        ///</summary>
        [Display(Name = "银行是否对账户设置特殊标识")]
        [Required(ErrorMessage = "{0}不能为空")]
        public bool Identifying { get; set; }
        /// <summary>
        /// 是否已退还 
        ///</summary>
        [Display(Name = "是否已退还")]
        [Required(ErrorMessage = "{0}不能为空")]
        public bool IsRefund { get; set; }
        /// <summary>
        /// 退还金额 
        ///</summary>
        [Display(Name = "退还金额")]
        public decimal? RefundAmount { get; set; }
        /// <summary>
        /// 退还日期 
        ///</summary>
        [Display(Name = "退还日期")]
        public DateTime? RefundDate { get; set; }
        /// <summary>
        /// 退还决定单位名称 
        ///</summary>
        [Display(Name = "退还决定单位名称")]
        public string? RefundCorpName { get; set; }
        /// <summary>
        /// 退还决定单位统一社会信用代码 
        ///</summary>
        [Display(Name = "退还决定单位统一社会信用代码")]
        public string? RefundCorpCode { get; set; }
        /// <summary>
        /// 动用通知文书号 
        ///</summary>
        [Display(Name = "动用通知文书号")]
        public string? InstrumentNumber { get; set; }
        ///// <summary>
        ///// 是否已核实 
        /////</summary>
        //[Display(Name = "是否已核实")]
        //public bool? IsVerify { get; set; }
        ///// <summary>
        ///// 核实结论(1通过,-1不通过) 
        /////</summary>
        //[Display(Name = "核实结论")]
        //public int? VirifyConclusion { get; set; }
        ///// <summary>
        ///// 结论说明(不通过原因   为不通过时必填) 
        /////</summary>
        //[Display(Name = "结论说明")]
        //public string? VirifyInstructions { get; set; }
    }
}
